
import 'dart:async';

import 'package:flutter/services.dart';

class KwCustomerServer {
  static const MethodChannel _channel =
      const MethodChannel('kw_customer_server');

  static Future<String> get platformVersion async {
    final String version = await _channel.invokeMethod('getPlatformVersion');
    return version;
  }

  static Future<dynamic> openKf(String appId,{String? mobile,String? userId}){
    return _channel.invokeMethod("openKf",{
      "appId":appId,
      "mobile":mobile,
      "userId":userId
    });
  }
}
